GtkIconTheme: Make spinners scale in hi-dpi
authorMatthias Clasen <mclasen@redhat.com>
Thu, 17 Jul 2014 04:59:34 +0000 (00:59 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 17 Jul 2014 04:59:34 +0000 (00:59 -0400)
commitf3ef3165df34ab509a7165165360680bf30dd0cb
treef2b2168a6bc5d62f5c6f1b7e34e22406a8c74886
parenta80e77ff95b6c87d54f4e63be9f802b1d5474def
GtkIconTheme: Make spinners scale in hi-dpi

The Adwaita icon theme ships spinners in a scalable directory
with MaxSize=32 and Scale=1. One way to make them scale up in
hi-dpi would be to add an @2 directory with MaxSize=32 and Scale=2,
but that directory would also be consulted in non hi-dpi situations
and give us an effective spinner max size of 64.

Instead, treat svg icons implicitly as hi-dpi, and scale them
up to MaxSize * 2 when in hi-dpi.
gtk/gtkicontheme.c